﻿using System;
using System.Web.Mvc;
using Giant.Web.Framework;
using Giant.Web.Framework.Mvc;

namespace Giant.Admin.Models.Blogs
{
    public partial class BlogCommentModel : BaseEntityModel
    {
        [AppResourceDisplayName("Admin.ContentManagement.Blog.Comments.Fields.BlogPost")]
        public int BlogPostId { get; set; }
        [AppResourceDisplayName("Admin.ContentManagement.Blog.Comments.Fields.BlogPost")]
        [AllowHtml]
        public string BlogPostTitle { get; set; }

        [AppResourceDisplayName("Admin.ContentManagement.Blog.Comments.Fields.User")]
        public int UserId { get; set; }
        [AppResourceDisplayName("Admin.ContentManagement.Blog.Comments.Fields.User")]
        public string UserInfo { get; set; }

        [AllowHtml]
        [AppResourceDisplayName("Admin.ContentManagement.Blog.Comments.Fields.Comment")]
        public string Comment { get; set; }

        [AppResourceDisplayName("Admin.ContentManagement.Blog.Comments.Fields.CreatedOn")]
        public DateTime CreatedOn { get; set; }

    }
}